package com.itheima.dao;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author Xiao
 * @date 2021/9/3
 */
public interface UserMapper {
    User login(@Param("username")String username, @Param("password")String password);
    User selectByUname(@Param("username")String username);

    void add(User user);
}
